package vashion.azeroth.core.service;

import vashion.azeroth.core.personal.pojo.PersonalAddress;
import vashion.azeroth.core.result.ApiResult;

public interface PersonalAddressService<T> {

    ApiResult<PersonalAddress> addAddr(PersonalAddress address);

	ApiResult<PersonalAddress> getAddrList(PersonalAddress addr); 
    
	ApiResult<PersonalAddress> removeAddrByAddressId(PersonalAddress address);

	ApiResult<PersonalAddress> updAddr(PersonalAddress addr);

	ApiResult<PersonalAddress> queryDefaultAddress(PersonalAddress addr);
}
